<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<jsp:include page="inc2.jsp"></jsp:include>
</head>
<body>
        <table class="table table-striped">
      <thead>
        <tr>
          <th>#</th>
          <th>老师名字</th>
          <th>课程编号</th>
          <th>课程名称</th>
        </tr>
      </thead>
      <tbody>
      <c:forEach items="${sessionScope.teacourse}" var="stu" varStatus="st">
        <tr>
          <td>${st.index+1}</td>
          <td>${stu.teachername}</td>
          <td>${stu.courseid}</td>
          <td>${stu.coursename}</td>
          <td></td>
        </tr>
        </c:forEach>
      </tbody>
    </table>
    

</body>
</html>